package com.icetech.eom.service.impl.tx;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.icetech.eom.dao.tx.UImeiDao;
import com.icetech.eom.domain.tx.UImei;
import com.icetech.eom.service.tx.IUImeiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wangzw
 * @since 2018-11-12
 */
@Service
public class UImeiServiceImpl extends ServiceImpl<UImeiDao, UImei> implements IUImeiService {

    @Autowired
    private UImeiDao uImeiDao;
    @Override
    public UImei selectByUserIdAndImei(Long userId, String imei) {
        return uImeiDao.selectByUserIdAndImei(userId, imei);
    }

    @Override
    public void updateByUserIdAndImei(UImei uImei) {
        uImeiDao.updateByUserIdAndImei(uImei);
    }
}
